home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / educate / testsh.zip / CLEAR.BAT < prev    next >
DOS Batch File  |  1995-10-13  |  2KB  |  35 lines

  1. ECHO OFF
  2. CLS
  3. echo   You are about to ERASE all of your created records, from your present
  4. echo   location.  This will mean that you will have a BARE BONES program, but
  5. echo   NO RECORDED DATA.  You will be starting fresh.  If you have not already 
  6. echo   used the SAVE option, to Backup your files on a disk, and you wish to, 
  7. echo   please ABORT this screen by typing CTRL and C, at the same time, and 
  8. echo   then answer Y to the `TERMINATE BATCH JOB?' prompt. Then type SAVEA, or 
  9. echo   SAVEB and press ENTER.  Follow the instructions. (Have you considered 
  10. echo   the PRESERVE option?  You may want to ABORT, type PRESERVE, press ENTER, 
  11. echo   and read the description of what it is.  You can ABORT it, without 
  12. echo   taking action, if you wish to return here and use the CLEAR option.)
  13. echo   NOTE: DO NOT attempt to save files from one period, year, etc, to the 
  14. echo   same backup disk where you saved files from a previous period.  
  15. echo   Previously saved files will be WRITTEN over by the newly saved files, 
  16. echo   and lost.  If the files that you have previously saved, are also 
  17. echo   included in the files that you are presently saving, meaning that what 
  18. echo   you are saving is simply an UPDATE of the previous files, then that is 
  19. echo   perfectly ok.
  20. echo.
  21. echo   If you are ready to clear your program of all records, just press the
  22. echo   ENTER key.  If you wish to SAVE records first, ABORT in the manner
  23. echo   indicated above.
  24. pause
  25. del *.rec
  26. CLS
  27. echo.
  28. echo.
  29. echo   Your records are now all erased.  Press the ENTER key, to return to
  30. echo   DOS, and then type GO and press ENTER again, to activate the original
  31. echo   program, or you can terminate your session, from DOS.
  32. echo.
  33. echo.
  34. pause
  35.